import { PageQuery } from '@/model/baseModel';

export interface PointsExchangeRuleQuery extends PageQuery {
  couponId?: number;
  status?: number;
}

export interface PointsExchangeRuleVO {
  id: number;
  couponId: number;
  couponName: string | null;
  points: number;
  exchangeLimit: number;
  startTime: string;
  endTime: string;
  status: number;
  statusName: string | null;
  description: string | null;
  createTime: string;
  updateTime: string;
  createBy: string | null;
  updateBy: string | null;
  createDept: string | null;
}

export interface PointsExchangeRuleForm {
  id?: number;
  couponId: number;
  points: number;
  exchangeLimit: number;
  startTime: string;
  endTime: string;
  status: number;
  description: string | null;
}
